package apiday01homework;

import java.util.Scanner;

public class TrimDemo {
    public static void main(String[] args)
    {
        String str = "      Hello World      ";
        System.out.println(str);
        System.out.println(str.trim());
        Scanner scanner = new Scanner(System.in);

    }
}
